package cn.connectivity.plugin.database;

import com.intellij.database.view.DatabaseView;
import com.intellij.openapi.project.Project;

import javax.swing.tree.TreeModel;

public class DataBaseUtil {

    public void getDataBases(Project project) {
        DatabaseView databaseView = DatabaseView.getDatabaseView(project);

        TreeModel model = databaseView.getTree().getModel();
        model.getRoot();
    }
}
